package com.sihan.swvp.dao.jc.bzzy;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.jc.bzzy.BzzyMajor;

public interface BzzyMajorDao extends BaseDao{

	public Page<Map<String, Object>> getBzzyMajor(Map<String, Object> params);
	public void addBzzyMajor(BzzyMajor bean);
	public void updateBzzyMajor(BzzyMajor bean);
	public int deleteBzzyMajor(@Param("id")Integer id);
	
	/**
	 * 验证编码和名称
	 * @param code
	 * @param dsdwName
	 * @return
	 */
	public Map<String, Object> getBzzyMajorValidate(BzzyMajor bean);
}
